package com.design_pattern._02_structure._04_proxy;

import java.util.Date;

public class V2 {
    public static void main(String[] args) {
        Movable move = new TankChild();
        move.move();
    }
}

class TankChild extends Tank{
    @Override
    public void move() {
        System.out.println("start in " + new Date().getTime());
        super.move();
        System.out.println("stop in " + new Date().getTime());
    }
}